<script lang="ts" setup>
const param1 = ref("value1");
const { data, status, error, refresh } = await useFetch(
  "https://api.nuxt.com/modules",
  {
    query: { param1, param2: "value2" },
  }
);
</script>
<template>
  <div class="container">
    <div class="mt-48px leading-1.75em">
      <div>do you want to other page ?</div>
      <div>look this</div>
      <NuxtLink to="/about">
        <el-button type="primary"> to about </el-button>
      </NuxtLink>
    </div>
    <div>
      <div v-for="item in data.modules">
        <el-tag>{{ item.name }}</el-tag>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped></style>
